package drp.snowbell.cfg;

/**
 * 关联配置
 * 
 * @author wuhj
 * 
 */
public class RelationConfig {

	/**
	 * 关联实体名称
	 */
	private String relBeanName;
	/**
	 * 主字段名称
	 */
	private String fieldName;
	/**
	 * 关联字段名称
	 */
	private String relFieldName;
	/**
	 * 主属性
	 */
	private String mainProperty;
	/**
	 * 关联属性
	 */
	private String relProperty;
	/**
	 * 关联表
	 */
	private String relTable;
	/**
	 * 关联表字段名称
	 */
	private String relTableFieldName;
	/**
	 * 关联表关联字段名称
	 */
	private String relTableRelFieldName;

	/**
	 * 关联类型
	 */
	private String relationType;

	/**
	 * 是否是纯关联表,是的话在Install的时候创建该表
	 */
	private boolean isPureRelTable;

	public void setRBeanName(String relBeanName) {
		this.relBeanName = relBeanName;
	}

	public String getRBeanName() {
		return relBeanName;
	}

	public void setMFieldName(String fieldName) {
		this.fieldName = fieldName;
	}

	public String getMFieldName() {
		return fieldName;
	}

	public void setRFieldName(String relFieldName) {
		this.relFieldName = relFieldName;
	}

	public String getRFieldName() {
		return relFieldName;
	}

	public void setMProperty(String mainProperty) {
		this.mainProperty = mainProperty;
	}

	public String getMProperty() {
		return mainProperty;
	}

	public void setRProperty(String relProperty) {
		this.relProperty = relProperty;
	}

	public String getRProperty() {
		return relProperty;
	}

	public void setRelTable(String relTable) {
		this.relTable = relTable;
	}

	public String getRelTable() {
		return relTable;
	}

	public void setRelTableMFieldName(String relTableFieldName) {
		this.relTableFieldName = relTableFieldName;
	}

	public String getRelTableMFieldName() {
		return relTableFieldName;
	}

	public void setRelTableRFieldName(String relTableRelFieldName) {
		this.relTableRelFieldName = relTableRelFieldName;
	}

	public String getRelTableRFieldName() {
		return relTableRelFieldName;
	}

	public void setRelationType(String relationType) {
		this.relationType = relationType;
	}

	public String getRelationType() {
		return relationType;
	}

	public boolean getIsPureRelTable() {
		return isPureRelTable;
	}

	public void setIsPureRelTable(boolean isPureRelTable) {
		this.isPureRelTable = isPureRelTable;
	}

}
